﻿<UserControl x:Class="MovieBuddy.Views.TriViews.TriView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:Views="clr-namespace:MovieBuddy.Views"
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="800">
    <Grid Margin="0" Name="grid" >
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="300" />
            <ColumnDefinition Width="Auto" />
            <ColumnDefinition />
        </Grid.ColumnDefinitions>


        <Grid Name="leftPanel" Grid.Column="0">
            <Label Height="24" Name="typeLabel" Margin="0,0,0,0" VerticalAlignment="Top" />
            <DockPanel Name="listPanel" Margin="0,24,0,30"/>
            <Grid Height="30" VerticalAlignment="Bottom">
                <Button Name="editButton" Content="Edit" HorizontalAlignment="Left" Margin="10,5,0,5" VerticalAlignment="Top" Width="75" Click="EditButtonClick"/>
                <Button Content="Clear Selection" HorizontalAlignment="Right" Margin="0,5,10,5" Width="100" Click="ClearSelectionClicked"/>
            </Grid>
        </Grid>
        <GridSplitter HorizontalAlignment="Left" Name="gridSplitter1" VerticalAlignment="Stretch" Grid.Column="1" Width="10" ResizeDirection="Columns" ShowsPreview="False" />
        <Views:MovieView Grid.Column="2" x:Name="movieView" />
    </Grid>
</UserControl>
